package com.j2041.supervisor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName material_requisition
 */
@TableName(value ="material_requisition")
@Data
public class MaterialRequisition implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    private Integer projId;

    /**
     * 材料
     */
    private String materials;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 规格
     */
    private String specification;

    /**
     * 单位
     */
    private String unit;

    /**
     * 工程部经理ID
     */
    private Integer userId;

    /**
     * 审批人id
     */
    private String approver;

    /**
     * 审批意见
     */
    private String approvalOpinion;

    /**
     * 申请时间
     */
    private Long date;

    /**
     * 状态
     */
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}